package cn.chinaflame.pagodas.enums;

public enum ResultEnum {
    UNKNOW_ERROR("-1", "未知错误"),
    SUCCESS("0", "成功"),
    PRIMARY_SCHOOL("100", "你还在上小学吧"),
    MIDDLE_SCHOOL("101", "你可能在上初中"),;
    private String code;
    private String msg;

    private ResultEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
